buffered writer WIP