- write to buffer WIP