adding return statement where it was missing