add EEPROM storage and validation