Heterocyclic building blocks