added time interval for notifications