Fixed complie error by adding return statement