Polyaniline nanofibers can also be synthesized through "rapid mixing" reactions. This method attempts to prevent overgrowth that would compromise the nanofiber nature of the polymer by stopping the polymerization immediately after nanofibers have been formed. This is achieved by the rapid mixing of the monomer, aniline, and an initiator solution. At the start of the reaction, the initiator is consumed rapidly and completely depleted when the nanofibers are formed. Without initiator remaining, the synthesis of polyaniline is halted.