Ah, ok. I thought you were trying to do something different.
Anyway, good news is there are already a bunch of post in the Community with suggestions and alternatives for how to do this: