added custom time interval