Implemented read_word and get_write_loc