should be in the try catch block