adding to cache