changed return statement