Change read to pair to be more correct