finish pipe method