added rig_leg method