by reaction with halogens or compounds containing halogen