added intervals.mymain