caching is done, time is reduced