removed an unused variable