modified exception handling.