add control logic to prevent dups