Added caching to the background