SMS: Fundamentals of heterocyclic chemistry