This invention provides novel compounds that are modulators of gamma secretase. The compounds have the formula (I). Also disclosed are methods of modulating gamma secretase activity and methods of treating Alzheimer's Disease using the compounds of formula (I).