Look for duplicates and avoid them.