A compound of formula IIId: ** Formula ** wherein A1 is CH, C-Z3 or nitrogen; A2 is CH or nitrogen; R1 is 6-12 membered aryl, 5-12 membered heteroaryl or 3-12 membered heterocycle, wherein any 6-12 membered aryl group, 5-12 membered heteroaryl or 3-12 membered heterocycle of R1 is optionally substituted with 1, 2, 3, 4 or 5 Z4 groups, wherein the Z4 groups are the same or different; each R3a and R3b is independently H or (C1-C3) alkyl; Z1 is 6-12 member aryl, 5-14 member heteroaryl or 3-14 member heterocycle, wherein any 6-12 member aryl, 5-14 member heteroaryl or 3-14 member heterocycle of Z1 is optionally substituted with 1, 2, 3, 4 or 5 Z1a or Z1b, where the groups Z1a and Z1b are the same or different; Each Z1a is independently carbocycle (C3-C7), 5-12 membered heteroaryl, 3-12 membered heterocycle, halogen, -CN, -ORn1, -OC (O) Rp1, -OC (O) NRq1Rr1, -SRn1, -S (O) Rp1, -S (O) 2OH, -S (O) 2Rp1, -S (O) 2NRq1Rr1, - NRq1Rr1, -NRn1CORp1, -NRn1CO2Rp1, -NRn1CONRq1Rr1, -NRn1S (O) 2Rp1, (R) O) 2ORp1, -NRn1S (O) 2NRq1Rr1, - C (O) Rn1, -C (O) ORn1, -C (O) NRq1RR1 and -S (O) 2NRn1CORp1, where any carbocycle (C3-C7), 5 -12 3-12 heteroaryl and heterocycle members of Z1a is optionally substituted with 1, 2, 3, 4 or 5 groups Z1c or Z1d, wherein groups Z1c and Z1d are the same or different; each Z1b is independently (C1-C8) alkyl optionally substituted with 1, 2, 3, 4 or 5 halogens, which are the same or different; each Z1c is independently halogen, -CN, -OH, -NH2, -C (O) NRq2RR2, or (C1-C8) heteroalkyl; each Z1d is independently (C1-C8) alkyl or halo (C1-C8) alkyl; each Rn1 is independently H, (C1-C8) alkyl, (C3-C7) carbocycle, 3-7 membered heterocycle, or 5-6 membered monocyclic heteroaryl, wherein any (C3-C7) carbocycle, 3-heterocycle -7 members, or 5-6 membered monocyclic heteroaryl of Rn1 is optionally substituted with 1, 2, 3, 4 or 5 groups Z1c or Z1d, where groups Z1c and Z1d are the same or different, and where any (C1 -C8) Rn1 alkyl is optionally substituted with 1, 2, 3