the reader and writer now inherites from the request