working head registration and ik_move code