removing unused variable