The present invention relates to novel heterocyclic compounds. The invention is also directed to compounds which are modulators of the metabotropic glutamate receptors (m Glu R), preferably of the metabotropic glutamate receptor subtype 7 ("m Glu R7"). The present invention also relates to pharmaceutical composition comprising such compounds and their use for the treatment or prevention of disorders associated with glutamate dysfunction or in which metabotropic glutamate receptor, preferably m Glu R7 subtype of metabotropic glutamate receptors, is involved.