updated core controller for caching