add read/write eeprom validation