return value is now correct
doing correct thing for return val