implemented EEPROM I/O methods