made the Body getPosition function