Removed unused import, and hashmap declared by giving types.