testing code in registration, updated gripper positioning