PLD: use memoized version, consolidate