add read/write eeprom validat