able to cache the index