Adding EEPROM storage functions