_write should be _transform