add method pipe