saving params in eeprom