added duplicate serial checker