The present invention provides compounds of formula (I) wherein A, Xl, X2, R1, R2, R3, R4and R5are as described herein, as well as pharmaceutically acceptable salts thereof. Further the present invention is concerned with the manufacture of the compounds of formula (I), pharmaceutical compositions comprising them and their use as medicaments for the treatment of spinal muscular atrophy.