This function doesnt return anything, you must use "return" .