Changed extra catch statements to multi-catch