Text this: Synthesis of 6- and 7-membered heterocycles