moved cached_control method to appropriate method