The present invention relates to novel compounds of formula (I) wherein W, n, X and W are defined in the description invention compounds are modulators of metabotropic glutamate receptors - subtype 5 (mGluR5) which are useful for the treatment of central nervous system disorders as well as other disorders modulated by mGluR5 receptors.