Add errorchecking for ampersand.