added index function to data_cache