memoize the special method