A compound of the formula or a pharmaceutically acceptable salt thereof, wherein R 3 is -H or -OH; R 22 and R 23 are independently selected from the group consisting of hydrogen, R 24 -(C 1 -C 10)alkyl, R 24 -(C 2 -C 10)alkenyl, R 24 -(C 2 -C 10)alkynyl, R 27 -heterocycloalkyl, R 25 -aryl, R 25 -aryl(C 1 -C 6)alkyl, R 29 -(C 3 -C 7)cycloalkyl, R 29 -(C 3 -C 7)cycloalkenyl, -OH, -OC R 30, -C OR 30, -C R 30, -C NR 30 R 31, -NR 30 R 31, -NR 30 C R 31, -NR 30 C NR 31 R 32, -NHSO 2 R 30, -OC NR 30 R 31, R 24 -(C 1 -C 10)alkoxy, R 24 -(C 2 -C 10)-alkenyloxy, R 24 -(C 2 -C 10)alkynyloxy, R 27 -heterocycloalkyloxy, R 29 -(C 3 -C 7)cycloalkyloxy, R 29 -(C 3 -C 7)cyclo-alkenyloxy, R 29 -(C 3 -C 7)cycloalkyl-NH-, -NHSO 2 NHR 16 and -CH(=NOR 17); R 16 is C 1 -C 6 lower alkyl, phenyl or benzyl; R 17 is selected from the group consisting of H, C 1 -C 6 alkyl, phenyl and benzyl; R 24 is 1, 2 or 3 substituents independently selected from the group consisting of hydrogen, halogen, -OH, (C 1 -C 6)alkoxy, R 35 -aryl, (C 1 -C 10)-alkyl-C -, (C 2 -C 10)-alkenyl-C -, (C 2 -C 10)alkynyl-C -, heterocycloalkyl, R 26 -(C 3 -C 7)cycloalkyl, R 26 -(C 3 -C 7)cycloalkenyl, -OC R 30, -C OR 30, -C R 30, -C NR 30 R 31, -NR 30 R 31, -NR 30 C R 31, -NR 30 C NR 31 R 32, -NHSO 2 R 30, -OC NR 30 R 31, R 27 -heterocycloalkyloxy, R 29 -(C 3 -C 7)-cycloalkyloxy, R 29 -(C 3 -C 7)cyclo-alkenyloxy, R 29 -(C 3 -C 7)cycloalkyl-NH-, -NHSO 2 NHR 16 and -CH(=NOR 17); R 25 is 1, 2 or 3 substituents independently selected from the group consisting of hydrogen, heterocycloalkyl, halogen, -COOR 36, -CN, -C NR 37 R 38, -NR 39 C R 40, -OR 36, (C 3 -C 7)cycloalkyl, (C 3 -C 7)cycloalkyl(C 1 -C 6)alkyl, (C 1 -C 6)alkyl(C 3 -C 7)cycloalkyl-(C 1 -C 6)alkyl, halo(C 1 -C 6)alkyl(C 3 -C 7)cycloalkyl(C 1 -C 6)alkyl, hydroxy(C 1 -C 6)alkyl, (C 1 -C 6)alkoxy(C 1 -C 6)alkyl, and R 41 -heteroaryl; or two R 25 groups on adjacent ring carbons form a fused methylenedioxy group; R 26 is 1, 2, or 3 substituents independently selected from the group consisting of hydrogen, halogen and (C 1 -C 6)alkoxy; R 27 is 1, 2 or 3 substituents independently selected from the group consisting of hydrogen, R 28 -(C 1 -C 10)alkyl, R 28 -(C 2 -C 10)alkenyl, R 28 -(C 2 -C 10)alkynyl; R 28 is hydrogen, -OH or (C 1 -C 6)alkoxy; R 29 is 1, 2 or 3 substituents independently selected from the group consisting of hydrogen, (C 1 -C 6)alkyl, -OH, (C 1 -C 6)alkoxy and halogen; R 30, R 31 and R 32 are independently selected from the group consisting of hydrogen, (C 1 -C 10)-alkyl, (C 1 -C 6)alkoxy(C 1 -C 10)-alkyl, R 25 aryl(C 1 -C 6)-alkyl, R 33 -(C 3 -C 7)cycloalkyl, R 34 -(C 3 -C 7)cycloalkyl(C 1 -C 6)alkyl, R 25 -aryl, heterocycloalkyl, heteroaryl, heterocycloalkyl(C 1 -C 6)alkyl and heteroaryl(C 1 -C 6)alkyl; R 33 is hydrogen, (C 1 -C 6)alkyl, OH-(C 1 -C 6)alkyl or (C 1 -C 6)alkoxy; R 35 is 1 to 4 substituents independently selected from the group consisting of hydrogen, (C 1 -C 6)alkyl, -OH, halogen, -CN, (C 1 -C 6)alkoxy, trihalo(C 1 -C 6)alkoxy, (C 1 -C 6)alkylamino, di((C 1 -C 6)alkyl)amino, -OCF 3, OH-(C 1 -C 6)alkyl, -CHO, -C (C 1 -C 6)-alkylamino, -C di((C 1 -C 6)alkyl)amino, -NH 2, -NHC (C 1 -C 6)alkyl and -N((C 1 -C 6)alkyl)C (C 1 -C 6)alkyl; R 36 is hydrogen, (C 1 -C 6)alkyl, halo(C 1 -C 6)alkyl, dihalo(C 1 -C 6)alkyl or trifluoro(C 1 -C 6)alkyl; R 37 and R 38 are independently selected from the group consisting of hydrogen, (C 1 -C 6)alkyl, aryl(C 1 -C 6)alkyl, phenyl and (C 3 -C 15)cycloalkyl, or R 37 and R 38 together are -(CH 2) 4 -, -(CH 2) 5 - or -(CH 2) 2 -NR 39 -(CH 2) 2 - and form a ring with the nitrogen to which they are attached; R 39 and R 40 are independently selected from the group consisting of hydrogen, (C 1 -C 6)alkyl, aryl(C 1 -C 6)alkyl, phenyl and (C 3 -C 15)-cycloalkyl, or R 39 and R 40 in the group -NR 39 C R 40, together with the carbon and nitrogen atoms to which they are attached, form a cyclic lactam having 5-8 ring members; R 41 is 1 to 4 substituents independently selected from the group consisting of hydrogen, (C 1 -C 6)alkyl, (C 1 -C 6)alkoxy, (C 1 -C 6)alkylamino, di((C 1 -C 6)alkyl)amino, -OCF 3, OH-(C 1 -C 6)alkyl, -CHO and phenyl; and Wis