Halogen chemistry