adding reader/writer