added an automatic expiration to the cached items