added a correct getUp and getDown in the model