allowed for caching a computation