reader/writer works