to find duplicate values