The present invention relates to 2-oxo-2,3-dihydroindoles of the general formula where: Ar represents a phenyl or five or six membered heteroaryl group containing one, two or three heteroatoms selected from N, S or O, where N is a heteroatom in the heteroaryl group can be oxidized to N- (O); R4 is lower alkyl, halogen, cyano or cycloalkyl; Ar is a five- or six-membered heteroaryl group containing one, two, three or four heteroatoms selected from N, S or O, where the N-heteroatom in the heteroaryl group can be oxidized to N- (O) or is benzo [b thiophenyl; R 5 represents a hydrogen atom, lower alkyl, halogen atom, cyano, lower alkyl substituted by hydroxyl, lower alkyl substituted by halogen atom, lower alkyl, substituted amino, lower alkyl, substituted alkoxy, lower alkyl substituted by amide, or is cycloalkyl; X is CH or N; n is 1 or 2; m is 1 or 2; as well as their pharmaceutically acceptable salt, racemic mixture, or their corresponding enantiomer, and / or optical isomer, and / or stereoisomer. The compounds can be used in the treatment of CNS diseases related to positive (psychosis) and negative symptoms of schizophrenia, abuse of chemicals, addiction to alcohol and drugs, obsessive-compulsive disorders, cognitive impairment, bipolar disorders, mood disorders, major depression, therapeutically resistant depression, anxiety disorders, Alzheimer's disease, autism, Parkinson's disease, chronic pain, borderline personality disorder, neurodegenerative about diseases, sleep disorders, chronic fatigue syndrome, rigidity, inflammatory diseases, bronchial asthma, Huntington's disease, ADHD, amyotrophic lateral sclerosis, epilepsy, arthritis, autoimmune diseases, viral and fungal infections, cardiovascular diseases, ophthalmic and inflammatory diseases retinal and balance problems.Настоящее изобретение относится к 2-оксо-2,3-дигидроиндолам общей формулыгде: Ar1 представляет собой фенильную или пяти- или шестичленную гетероарильную группу, содержащую один, два или три гете