The transition from archaic to advanced frogs