eliminated unused variable