more try catch stuff