Removed unused import
Removed doubles from results, and renamed a variable