a subroutine built from pipes