The reaction happens with two metal cofactors (Mg or Mn) coordinated to the two aspartate residues on C1. They perform a nucleophilic attack of the 3'-OH group of the ribose on the α-phosphoryl group of ATP. The two lysine and aspartate residues on C2 selects ATP over GTP for the substrate, so that the enzyme is not a guanylyl cyclase. A pair of arginine and asparagine residues on C2 stabilizes the transition state. In many proteins, these residues are nevertheless mutated while retaining the adenylyl cyclase activity.