memoize keyword argument to control memory look up