edit eeprom initialize function to be callable