removed unused variable