changed time intervals from 15 to 5 mins