bootstrap, exception handling