Modified intervals to allow ability to generate any number of datetime objects.
whitespace issue