added duplicate testing