eliminate line 330 or structure the exception test differently.