A compound of formula Ib wherein Z is NR 2 or S; A and B are independently absent or substituted or unsubstituted C 1-6 alkylene wherein one or more carbon atoms can be optionally replaced with O, CO, NR 2, NR 2 CO, CONR 2, NR 2 SO 2, SO 2 NR 2, S and/or S n; R 1 is independently selected from H, substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, halogen, CN, NO 2, NR 2 R 3, SO 2 R 3, SO 2 NR 2 R 3, CF 3, OCF 3, NR 2 SO 2 R 3, CO 2 R 3, COSR 3 CSR 3, COR 3, NR 2, CSR 3, NR 2 CSR 3, CONR 2 R 3, NR 2 COR 3, NR 2 CONR 2 R 3, SO 3 R 3, substituted or unsubstituted C 3-8 cycloalkyl, substituted or unsubstituted aryl and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; R is independently selected from substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, halogen, CN, NO 2, CO 2 R 3, CONR 2 R 3, NR 2 COR 3, SO 3 R 3, C 3-8 cycloalkyl, aryl and heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2, each of which may be substituted with up to 3 substituents independently selected from substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2 - 6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, OCF 3, halogen, CN, NO 2, NR 2 R 3, SO 2 R 3, SO 2 NR 2 R 3, NR 2 SO 2 R 3, CO 2 R 3, COR 3, NR 2 COR 3, R 2 NHCO 2 R 3, CONR 2 R 3, NR 2 CONR 2 R 3 and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; R 2 and R 3 are independently selected from H, substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, CN, substituted or unsubstituted C 3-8 cycloalkyl, substituted or unsubstituted aryl and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; and m is 1 to 3; salts and/or stereoisomers thereof Z is NR 2 or S; A and B are independently absent or substituted or unsubstituted C 1-6 alkylene wherein one or more carbon atoms can be optionally replaced with O, CO, NR 2, NR 2 CO, CONR 2, NR 2 SO 2, SO 2 NR 2, S and/or S n; R 1 is independently selected from H, substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, halogen, CN, NO 2, NR 2 R 3, SO 2 R 3, SO 2 NR 2 R 3, CF 3, OCF 3, NR 2 SO 2 R 3, CO 2 R 3, COSR 3 CSR 3, COR 3, NR 2, CSR 3, NR 2 CSR 3, CONR 2 R 3, NR 2 COR 3, NR 2 CONR 2 R 3, SO 3 R 3, substituted or unsubstituted C 3-8 cycloalkyl, substituted or unsubstituted aryl and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; R is independently selected from substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, halogen, CN, NO 2, CO 2 R 3, CONR 2 R 3, NR 2 COR 3, SO 3 R 3, C 3-8 cycloalkyl, aryl and heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2, each of which may be substituted with up to 3 substituents independently selected from substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2 - 6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, OH, OCF 3, halogen, CN, NO 2, NR 2 R 3, SO 2 R 3, SO 2 NR 2 R 3, NR 2 SO 2 R 3, CO 2 R 3, COR 3, NR 2 COR 3, R 2 NHCO 2 R 3, CONR 2 R 3, NR 2 CONR 2 R 3 and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; R 2 and R 3 are independently selected from H, substituted or unsubstituted C 1-6 alkyl, substituted or unsubstituted C 2-6 alkenyl, substituted or unsubstituted C 2-6 alkynyl, substituted or unsubstituted C 1-6 alkoxy, CN, substituted or unsubstituted C 3-8 cycloalkyl, substituted or unsubstituted aryl and substituted or unsubstituted heterocyclyl having up to 3 heteroatoms selected from N, O, S and SO 2; and m is 1 to 3; salts and/or stereoisomers thereof