removed unused variable and unused import