adding + commenting the cache \ memoize