modify programs for grasp test