make the example reset the rig when done