establishment of some acid-acid-catalyzed tandem reactions. Addition of MB to acid-catalyzed reaction system not only allowed the use of some basic amines as substrates, which are generally incompatible with the acid conditions, but also enabled the successful synthesis of many important nitrogen-containing heterocycles, such as β-carbolines, pyridines, and quinazolines, in a straightforward manner.