Because depression is often associated with cognitive impairment , in this study we sought to determine whether our earlier participants had treatment-induced changes in cognition , which cognitive domains ( language , executive , visuospatial , verbal episodic memory , attention ) were affected , and whether treatment-induced cognitive changes were related either to improvement in depression or to other treatment variables , such as right versus left treatment and rTMS versus sham .