remove unecessary memoization