use current joint_values to make it work