added extra catch statement