Cylinder with piston