Compounds of the formula I or pharmaceutically acceptable salts thereof, wherein m, n. X, R 1 , R 2 , R 3 , R 5 , R 6 and R 7 are as defined herein. Also disclosed are methods of making the compounds and using the compounds for treatment of diseases associated with LRRK2 receptor, such as Parkinsons disease.