Adding exception statements