Unnecessary variable and unused import