Outputting buffers when needed