Inclusion Criteria:  age 18-80 years diagnosis of cerebral infraction or intracerebral hemorrhage stable vital signs  Exclusion Criteria:  brain tumor, Parkinson's disease or active epilepsy within three months impaired cognitive functions participation in any other clinical study