 }
 
 
-int initialise_eeprom(int o_pwrSrc, int o_wrkMode, int o_startMode, int o_beepMode, int o_offMode, int o_channelGap, int o_tvOnTime, int o_tvOffTime)
+int initialise_eeprom(int o_pwrSrc, int o_wrkMode, int o_startMode, int o_beepMode, int o_channelGap, int o_tvOnTime)
 {
   eeprom_write(o_pwrSrc, pwrSrc);
   eeprom_write(o_wrkMode, wrkMode);
   eeprom_write(o_startMode, startMode);
   eeprom_write(o_beepMode, beepMode);
-  eeprom_write(o_offMode, offMode);
   eeprom_write(o_channelGap, channelGap);
   eeprom_write(o_tvOnTime, tvOnTime);
-  eeprom_write(o_tvOffTime, tvOffTime);
   eeprom_write(magic_number, magic);
 
   alarm_set();

  eeprom_read(o_wrkMode, wrkMode);
  eeprom_read(o_startMode, startMode);
  eeprom_read(o_beepMode, beepMode);
  eeprom_read(o_offMode, offMode);
  eeprom_read(o_channelGap, channelGap);
 // eeprom_read(o_tvOnTime, tvOnTime);
 // eeprom_read(o_tvOffTime, tvOffTime);

  // temp sensor
  sensors.begin();

{

  t.update();

  // receiving ir and change status
  // remote on / off, tv remote on / off
