RATIONALE: Methylphenidate may decrease side effects of radiation therapy. It is not yet known if methylphenidate is effective in improving quality of life in patients with primary or metastatic brain tumors.