started implementing inverse kinematics