The present invention provides a compound of formula I; or a pharmaceutically acceptable salt thereof, wherein A, R 1 , R 2 , R 3 , R 4 , R 5 and n are as defined herein and the use of such compounds for the treatment of disorders or diseases mediated by aldosterone synthase. The invention also relates to pharmaceutical compositions and combinations comprising compounds of formula I.