Disclosed is a method for improving cognitive function or for improving coordination of function across a patients cortical regions. The method includes applying electrical stimulation to at least a portion of the patients subcortical structures involved in the generation and control of generalized efference copy signals. Internally generated movement of the patient is then detected and, in response to such internally generated movement, application of electrical stimulation is controlled. The method of the present invention has a number of benefits, including increasing flexibility in identifying targets for stimulation, improving the probability of successfully treating brain injury, and permitting patient biofeedback and self-regulation.