missed to return variable