Changed get_data in order to fetch data from cache