Placed the main points in the try block