now cache is properly working