The present invention relates to compounds of formula (I) and their pharmaceutical compositions. In addition, the present invention relates to therapeutic methods for the treatment and/or prevention of Αβ-related pathologies such as Down's syndrome, β- amyloid angiopathy such as but not limited to cerebral amyloid angiopathy or hereditary cerebral hemorrhage, disorders associated with cognitive impairment such as but not limited to MCI ("mild cognitive impairment"), Alzheimer's disease, memory loss, attention deficit symptoms associated with Alzheimer's disease, neurodegeneration associated with diseases such as Alzheimer's disease or dementia including dementia of mixed vascular and degenerative origin, pre-senile dementia, senile dementia and dementia associated with Parkinson's disease.