adds interval to fetching of data