add a dup checker