A compound according to formula: wherein: A is -O-, -CH 2 -, -CH 2 CH 2 -, -OCH 2 -, -CH 2 O-, or -CF 2 -; n is 0 or 1; R 1 is H, C 1-6 alkyl or C 0-6 alkylC 3-6 cycloalkyl; R 2 is C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 2-6 alkynyl, C 1-6 alkyl, halogen, cyano, or OR 8, wherein said C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 2-6 alkynyl, or C 1-6 alkyl is optionally substituted with one to three R 7; R 3 is H; R 4 is H; R 5 and R 6 is independently hydrogen, heterocyclyl, C 3-6 cycloalkyl, aryl, heteroaryl or C 1-6 alkyl, wherein said heterocyclyl, C 3-6 cycloalkyl, aryl, heteroaryl or C 1-6 alkyl is optionally substituted with one or two substituents independently selected from halogen, C 1-6 alkyl, C 1-6 haloalkyl, cyano, or OR 8; provided that R 5 and R 6 are not hydrogen at the same time; or R 5 and R 6 together with the carbon to which they are attached, form a ring B, which is a 3-7 membered cycloalkyl or heterocyclyl monocyclic ring, or a 7-12 membered bicyclic cycloalkyl or heterocyclyl ring; and wherein ring B is optionally substituted by one or more substituents independently selected from oxo, halogen, C 1-6 alkyl, C 1-6 haloalkyl, cyano, or OR 8; and ring B is optionally fused with an aryl or heteroaryl to form a bi- or polycyclic system; R 7 is independently C 1-6 alkyl, halogen, cyano, C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 0-6 alkylC 3-6 cycloalkyl, OC 1-6 alkyl, or C 2-6 alkynyl, wherein said C 1-6 alkyl, C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 0-6 alkylC 3-6 cycloalkyl, OC 1-6 alkyl, or C 2-6 alkynyl is optionally substituted with 1-3 substituents independently selected from halogen, cyano, C 1-6 alkyl, C 0-6 alkylC 3-6 cycloalkyl, C 1-6 haloalkyl, OC 1-6 alkyl, and OC 1-6 haloalkyl; R 8 is independently hydrogen, C 1-6 alkyl, C 0-6 alkylC 3-6 cycloalkyl, C 2-6 alkynyl, aryl or heteroaryl; wherein said C 1-6 alkyl, aryl or heteroaryl is optionally substituted with one or more substituents independently selected from halogen, cyano, and C 1-6 alkyl; and R 9 is H, F, OH, CH 3, Cl or OCH 3; R 9 is one or more substituents independently selected from H, F, OH, CH 3, Cl and OCH 3; as a free base or a pharmaceutically acceptable salt thereof. A is -O-, -CH 2 -, -CH 2 CH 2 -, -OCH 2 -, -CH 2 O-, or -CF 2 -; n is 0 or 1; R 1 is H, C 1-6 alkyl or C 0-6 alkylC 3-6 cycloalkyl; R 2 is C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 2-6 alkynyl, C 1-6 alkyl, halogen, cyano, or OR 8, wherein said C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 2-6 alkynyl, or C 1-6 alkyl is optionally substituted with one to three R 7; R 3 is H; R 4 is H; R 5 and R 6 is independently hydrogen, heterocyclyl, C 3-6 cycloalkyl, aryl, heteroaryl or C 1-6 alkyl, wherein said heterocyclyl, C 3-6 cycloalkyl, aryl, heteroaryl or C 1-6 alkyl is optionally substituted with one or two substituents independently selected from halogen, C 1-6 alkyl, C 1-6 haloalkyl, cyano, or OR 8; provided that R 5 and R 6 are not hydrogen at the same time; or R 5 and R 6 together with the carbon to which they are attached, form a ring B, which is a 3-7 membered cycloalkyl or heterocyclyl monocyclic ring, or a 7-12 membered bicyclic cycloalkyl or heterocyclyl ring; and wherein ring B is optionally substituted by one or more substituents independently selected from oxo, halogen, C 1-6 alkyl, C 1-6 haloalkyl, cyano, or OR 8; and ring B is optionally fused with an aryl or heteroaryl to form a bi- or polycyclic system; R 7 is independently C 1-6 alkyl, halogen, cyano, C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 0-6 alkylC 3-6 cycloalkyl, OC 1-6 alkyl, or C 2-6 alkynyl, wherein said C 1-6 alkyl, C 0-6 alkylaryl, C 0-6 alkylheteroaryl, C 0-6 alkylC 3-6 cycloalkyl, OC 1-6 alkyl, or C 2-6 alkynyl is optionally substituted with 1-3 substituents independently selected from halogen, cyano, C 1-6 alkyl, C 0-6 alkylC 3-6 cycloalkyl, C 1-6 haloalkyl, OC 1-6 alkyl, and OC 1-6 haloalkyl; R 8 is independently hydrogen, C 1-6 alkyl, C 0-6 alkylC 3-6 cycloalkyl, C 2-6 alkynyl, aryl or heteroaryl; wherein said C 1-6 alkyl, aryl or heteroaryl is optionally substituted with one or more substituents independently selected from halogen, cyano, and C 1-6 alkyl; and R 9 is H, F, OH, CH 3, Cl or OCH 3; R 9 is one or more substituents independently selected from H, F, OH, CH 3, Cl and OCH 3;