shorter exception handling