modify pipe class