duplicate data avoided in inserting