Added lifetime for cache