Fixing with the try/catches.