Also add the missing "}" at the end of the function - double d'oh!