started writing a buffer for output device