changing time interval to 10 minutes