added find_kinematics function