WIP write()