Exception hanlding-hopefully is good.