buffered writer WIP 2