add try_catch structure