Patent ID: 7790751

Claim:
A compound of formula I wherein X is O, S, NR, CH 2 , CO, CH 2 O, CH 2 S, CH 2 NR, CH 2 CO, CONR or NRCO; n is 0 or an integer of 1, 2, 3, 4, 5, or 6; R is H or an optionally substituted alkyl group; R 1 is H or an alkyl, cycloalkyl, aryl or heteroaryl group each optionally substituted; R 2 is an optionally substituted alkyl, cycloalkyl, aryl or heteroaryl group or an optionally substituted 8- to 13-membered bicyclic or tricyclic ring system having a N atom at the bridgehead and optionally containing 1, 2 or 3 additional heteroatoms selected from N, O or S; R 3 and R 4 are each independently H, or an optionally substituted alkyl group; R 5 is H, COR 12 or an alkyl, alkenyl, alkynyl, cycloalkyl, cycloheteroalkyl, aryl or heteroaryl group each optionally substituted; R 6 is H or an optionally substituted alkyl group; p is the integer 1; R 7 is H, halogen, CN, OR 8 , CO 2 R 9 , CONR 10 R 11 , or an alkyl, alkenyl, alkynyl, cycloalkyl, cycloheteroalkyl, aryl or heteroaryl group each optionally substituted; m is an integer of 1, 2 or 3; R 8 is H, COR 12 or an alkyl, alkenyl, alkynyl, aryl or heteroaryl group each optionally substituted; R 9 is H or a C 1 -C 6 alkyl, aryl or heteroaryl group each optionally substituted; R 10 and R 11 are each independently H or an optionally substituted alkyl group; and R 12 is an optionally substituted C 1 -C 6 alkyl, cycloalkyl, cycloheteroalkyl, aryl or heteroaryl group; or a stereoisomer thereof or a pharmaceutically acceptable salt thereof.