tinkered with ordering of the exception block