added availability caching