A compound of formula wherein R 1 is -(CH 2) n -A; n is 0 or 1; A is 3-11 membered heterocyclyl optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkoxy-C 1-4 alkyl, -C O-C 1-4 alkyl, -C -C 1-4 alkyl, C 3-6 cycloalkyl, -NH(C 1-4 alkyl), -N(C 1-4 alkyl) 2 and the bivalent substituent =O; or R 1 is -NR A R A; each R A is independently selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 alkoxy-C 1-4 alkyl, C 1-4 alkyl substituted with 4-6 membered heterocyclyl, (C 1-4 al kyl) 2 amino-C 1-4 alkyl and (C 1-4 alkyl) 2 amino-C 1-4 alkoxy-C 1-4 alkyl; or R 1 is C 1-6 alkyl optionally substituted with a substituent selected from the group consisting of (C 1-4 alkyl) 2 amino, -C NH-C 1-4 alkyl, -C -heterocyclyl with a 5-6 membered heterocyclyl, -OH, -CN and -C O-C 1-4 alkyl; or R 1 is selected from the group consisting of halogen and hydrogen; R 2 is -(CH 2) m -B; m is 0 or 1; B is 3-11 membered heterocyclyl optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkoxy-C 1-4 alkyl, -C O-C 1-4 alkyl, -C -C 1-4 alkyl, C 3-6 cycloalkyl, -NH(C 1-4 alkyl), -N(C 1-4 alkyl) 2 and the bivalent substituent =O; or R 2 is -NR B R B; each R B is independently selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 alkoxy-C 1-4 alkyl, C 1-4 alkyl substituted with 4-6 membered heterocyclyl, (C 1-4 alkyl) 2 amino-C 1-4 alkyl and (C 1-4 alkyl) 2 amino-C 1-4 alkoxy-C 1-4 alkyl; or R 2 is C 1-6 alkyl optionally substituted with a substituent selected from the group consisting of (C 1-4 alkyl) 2 amino, -C NH-C 1-4 alkyl, -C -heterocyclyl with a 5-6 membered heterocyclyl, -OH, -CN and -C O-C 1-4 alkyl; or R 2 is selected from the group consisting of halogen and hydrogen; R 3 is selected from the group consisting of C 3-6 alkyl, C 3-6 cycloalkyl and 4-7 membered heterocyclyl, wherein the C 3-6 alkyl, C 3-6 cycloalkyl and 4-7 membered heterocyclyl are all optionally substituted by one or more -OH; R 4 is selected from the group consisting of phenyl, 5-6 membered heteroaryl and 9-membered heteroaryl, wherein the phenyl, 5-6 membered heteroaryl and 9-membered heteroaryl are all optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-6 alkyl, C 1-6 haloalkyl, -O-C 1-6 alkyl, -O-C 1-6 haloalkyl, halogen, hydroxy, -NH-C 1-6 alkyl, -N(C 1-6 alkyl) 2, -C NH-C 1-6 alkyl, -C N(C 1-6 alkyl) 2 and (C 1-6 alkyl) 2 N-C 1-6 alkyl; R 5 is selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 haloalkyl, C 2-4 alkenyl, C 2-4 alkinyl, halogen, -CN, -NH 2, -NH(C 1-4 alkyl) and -N(C 1-4 alkyl) 2; or a salt thereof. R 1 is -(CH 2) n -A; n is 0 or 1; A is 3-11 membered heterocyclyl optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkoxy-C 1-4 alkyl, -C O-C 1-4 alkyl, -C -C 1-4 alkyl, C 3-6 cycloalkyl, -NH(C 1-4 alkyl), -N(C 1-4 alkyl) 2 and the bivalent substituent =O; or R 1 is -NR A R A; each R A is independently selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 alkoxy-C 1-4 alkyl, C 1-4 alkyl substituted with 4-6 membered heterocyclyl, (C 1-4 al kyl) 2 amino-C 1-4 alkyl and (C 1-4 alkyl) 2 amino-C 1-4 alkoxy-C 1-4 alkyl; or R 1 is C 1-6 alkyl optionally substituted with a substituent selected from the group consisting of (C 1-4 alkyl) 2 amino, -C NH-C 1-4 alkyl, -C -heterocyclyl with a 5-6 membered heterocyclyl, -OH, -CN and -C O-C 1-4 alkyl; or R 1 is selected from the group consisting of halogen and hydrogen; R 2 is -(CH 2) m -B; m is 0 or 1; B is 3-11 membered heterocyclyl optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkoxy-C 1-4 alkyl, -C O-C 1-4 alkyl, -C -C 1-4 alkyl, C 3-6 cycloalkyl, -NH(C 1-4 alkyl), -N(C 1-4 alkyl) 2 and the bivalent substituent =O; or R 2 is -NR B R B; each R B is independently selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 alkoxy-C 1-4 alkyl, C 1-4 alkyl substituted with 4-6 membered heterocyclyl, (C 1-4 alkyl) 2 amino-C 1-4 alkyl and (C 1-4 alkyl) 2 amino-C 1-4 alkoxy-C 1-4 alkyl; or R 2 is C 1-6 alkyl optionally substituted with a substituent selected from the group consisting of (C 1-4 alkyl) 2 amino, -C NH-C 1-4 alkyl, -C -heterocyclyl with a 5-6 membered heterocyclyl, -OH, -CN and -C O-C 1-4 alkyl; or R 2 is selected from the group consisting of halogen and hydrogen; R 3 is selected from the group consisting of C 3-6 alkyl, C 3-6 cycloalkyl and 4-7 membered heterocyclyl, wherein the C 3-6 alkyl, C 3-6 cycloalkyl and 4-7 membered heterocyclyl are all optionally substituted by one or more -OH; R 4 is selected from the group consisting of phenyl, 5-6 membered heteroaryl and 9-membered heteroaryl, wherein the phenyl, 5-6 membered heteroaryl and 9-membered heteroaryl are all optionally substituted by one or more, identical or different substituents selected from the group consisting of C 1-6 alkyl, C 1-6 haloalkyl, -O-C 1-6 alkyl, -O-C 1-6 haloalkyl, halogen, hydroxy, -NH-C 1-6 alkyl, -N(C 1-6 alkyl) 2, -C NH-C 1-6 alkyl, -C N(C 1-6 alkyl) 2 and (C 1-6 alkyl) 2 N-C 1-6 alkyl; R 5 is selected from the group consisting of hydrogen, C 1-4 alkyl, C 1-4 haloalkyl, C 2-4 alkenyl, C 2-4 alkinyl, halogen, -CN, -NH 2, -NH(C 1-4 alkyl) and -N(C 1-4 alkyl) 2; or a salt thereof.