changed time interval to 5 mins