fetching data in one ajax call