I did not put crank for piston, that would normally be required. the piston and connected rod are in front. the big square is a tank, which would hold something like compressed air. the cam(dark blue) is on the output shaft, and the invisible crank moving the piston rod is also on this shaft(invisible).