buf1: buff input1,output1