start cpp try catch (not working yet)