buffer outputs and outputs