updated right tilt function