The investigators propose to examine both resting state activity and functional activity during rumination and during self-processing to study the relationship between neural correlates of rumination/self-focus and self-processing in major depression and bipolar disorder.