finishing atoms
note about memoization example