time interval setting added.