added raise_exceptions