This invention relates to compounds of formula I
their use as positive allosteric modulators of mGlu5 receptor activity, pharmaceutical compositions containing the same, and methods of using the same as agents for treatment and/or prevention of neurological and psychiatric disorders associated with glutamate dysfunction such as schizophrenia or cognitive decline such as dementia or cognitive impairment. A, B, X, R
1
, R
2
, R
3
have meanings given in the description.