Added setInterval() and devidedIntervals(). Need to do real code