The O (or H) antigen is generated in all individuals, and consists of a particular carbohydrate group that is added to proteins. The ABO locus codes for a galactosyltransferase enzyme that adds a further sugar group to the O antigen. The specificity of this enzyme determines the blood group. The A allele produces an enzyme that uses the cofactor UDP-N-acetylgalactose, creating the A antigen. The B allele produces an enzyme that uses the cofactor UDP-galactose, creating the B antigen. The A and B versions of the transferase protein differ in 4 amino acids that presumably affect its recognition of the type of cofactor. The O allele has a mutation (a small deletion) that eliminates activity, so no modification of the O antigen occurs.