Added initial time interval and starting / stopping logic.