move around exception handling.