My bad, didn't realise that memoized was actually a word :)