allowing arrays for caches