A compound of general formula: wherein: X is C or S=O; A represents CH; n is 0, 1, 2 or 3; R 1 is phenyl, 5 or 6 membered saturated or unsaturated heterocycle, 8-10 membered unsaturated or partially saturated heterocycle containing heteroatoms independently selected from O, N and S; any of which rings being optionally substituted by one or more groups independently chosen from cyano, halogen, nitro, hydroxy, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkoxy, C 1-6 alkylcarbonyl, C 6-10 aryl, C 6-10 aryloxy, C 6-10 arylcarbonyl, N(R a) 2, SO 2 N(R a) 2, N(R a)SO 2 R a, 5 or 6 membered saturated or unsaturated heterocycle optionally substituted by one or more groups independently chosen from halogen, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy; R 2 represents C 1-6 alkyl, C 3-10 cycloalkyl; R 3 represents hydrogen or C 1-6 alkyl; R 4 is hydrogen, halogen, hydroxy, cyano, sulphonylamino, C 1-6 alkyl, haloC 1-6 alkyl, hydroxyC 1-6 alkyl, SO 2 C 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkoxy, C 3-10 cycloalkyl, haloC 3-10 cycloalkyl, C 2-10 alkenyl, C 2-10 alkynyl, nitro, N(R a) 2, C 6-10 aryl, C 6-10 arylC 1-6 alkyl, C 6-10 arylC 1-6 alkoxy; 4, 5 or 6 membered saturated or partially saturated heterocycle containing 1, 2 or 3 heteroatoms independently selected from N, O and S, optionally bridged by a C 1-4 alkyl group; 5 membered unsaturated heterocycle containing 1, 2, 3 or 4 heteroatoms independently selected from N, O and S, but not more than one of which is O or S; 6 membered unsaturated heterocycle containing 1, 2 or 3 nitrogen atoms; or a 7-13 membered saturated, partially saturated or unsaturated heterocycle containing heteroatoms independently selected from N, O or S; any of which rings being optionally substituted by one or more groups independently chosen by one or more groups independently chosen from halogen, hydroxy, amino, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy and haloC 1-6 alkoxy; R 5 and R 6 are independently hydrogen, C 1-6 alkyl, or CR 5 R 6 represents a carbonyl or CR 5 R 6 represents a cyclopropyl; each R a is independently selected from hydrogen, C 1-6 alkyl, C 6-10 aryl, C 1-6 alkylcarbonyl and C 6-10 arylcarbonyl; and pharmaceutically acceptable salts, tautomers, stereoisomers thereof. X is C or S=O; A represents CH; n is 0, 1, 2 or 3; R 1 is phenyl, 5 or 6 membered saturated or unsaturated heterocycle, 8-10 membered unsaturated or partially saturated heterocycle containing heteroatoms independently selected from O, N and S; any of which rings being optionally substituted by one or more groups independently chosen from cyano, halogen, nitro, hydroxy, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkoxy, C 1-6 alkylcarbonyl, C 6-10 aryl, C 6-10 aryloxy, C 6-10 arylcarbonyl, N(R a) 2, SO 2 N(R a) 2, N(R a)SO 2 R a, 5 or 6 membered saturated or unsaturated heterocycle optionally substituted by one or more groups independently chosen from halogen, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy; R 2 represents C 1-6 alkyl, C 3-10 cycloalkyl; R 3 represents hydrogen or C 1-6 alkyl; R 4 is hydrogen, halogen, hydroxy, cyano, sulphonylamino, C 1-6 alkyl, haloC 1-6 alkyl, hydroxyC 1-6 alkyl, SO 2 C 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkoxy, C 3-10 cycloalkyl, haloC 3-10 cycloalkyl, C 2-10 alkenyl, C 2-10 alkynyl, nitro, N(R a) 2, C 6-10 aryl, C 6-10 arylC 1-6 alkyl, C 6-10 arylC 1-6 alkoxy; 4, 5 or 6 membered saturated or partially saturated heterocycle containing 1, 2 or 3 heteroatoms independently selected from N, O and S, optionally bridged by a C 1-4 alkyl group; 5 membered unsaturated heterocycle containing 1, 2, 3 or 4 heteroatoms independently selected from N, O and S, but not more than one of which is O or S; 6 membered unsaturated heterocycle containing 1, 2 or 3 nitrogen atoms; or a 7-13 membered saturated, partially saturated or unsaturated heterocycle containing heteroatoms independently selected from N, O or S; any of which rings being optionally substituted by one or more groups independently chosen by one or more groups independently chosen from halogen, hydroxy, amino, C 1-6 alkyl, haloC 1-6 alkyl, C 1-6 alkoxy and haloC 1-6 alkoxy; R 5 and R 6 are independently hydrogen, C 1-6 alkyl, or CR 5 R 6 represents a carbonyl or CR 5 R 6 represents a cyclopropyl; each R a is independently selected from hydrogen, C 1-6 alkyl, C 6-10 aryl, C 1-6 alkylcarbonyl and C 6-10 arylcarbonyl; and pharmaceutically acceptable salts, tautomers, stereoisomers thereof.