added eeprom and generator program