updating for the exception conversion