removed unused variable and import