adding expiration to memoize for caching