buffer inputs