prepare the new pipe