Also did you forget to include the actual function? :P 
And the function should have unit tests?