eliminated ordered duplicates