do the same for pipes