added setIntervalTimes