added parentheses numExceptions