try catch finally in adventure main