add DUP_internals

Signed-off-by: Weiping Pan <panweiping3@gmail.com>