-wrote in the r/w pairs
-put in clearer print statements