memoize results to Search