What reaction is the ring closure step most like?