D is a heterocyclic compound