Missing return statement?