Eliminates duplicates and tested