adding new method to test for cache