eliminate unused variable