set memoize before super