Implemented custom intervals.