added logging and memoization to wiki dstk dictionary