caches generating correctly