New approaches to the synthesis of heterocyclic molecules