checking for replicate numbers