WORKING pipe class update :)!