fix piping
added multi pass