This invention relates to novel compounds having the structural formula I and to their pharmaceutically acceptable salt, compositions and methods of use. These novel compounds provide a treatment or prophylaxis of cognitive impairment, Alzheimer Disease, neurodegeneration and dementia.