Progress on duplicateDecl