changed cache to debounce