let's accept input as pipe