preventing duplicate regs -all good