Using get functions to get data from reader and writer structs. Hopefully can use agents at some point