working on read/write to eeprom