Forgot to return value from function calls