add piston equation, in and out plugs