Added memoization function