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 Aß-related pathologies such as Downs 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"), Alzheimers disease, memory loss, attention deficit symptoms associated with Alzheimers disease, neurodegeneration associated with diseases such as Alzheimers disease or dementia including dementia of mixed vascular and degenerative origin, pre-senile dementia, senile dementia and dementia associated with Parkinsons disease.