improving interval_add method in GUI_control