new torso sample code