with a closed cylinder and a piston separating two or more working spaces therein