Nitrogen or oxygen as hetero atom and at least one other diverse hetero ring atom in the same ring