Pyridine and pyrimidine compounds, and compositions containing them, and
processes for preparing such compounds. Provided herein also are methods
of treating disorders or diseases treatable by inhibition of PDE10, such
as obesity, non-insulin dependent diabetes, schizophrenia, bipolar
disorder, obsessive-compulsive disorder, and the like.