We are using the latest techniques in 2-photon and deep brain imaging (including utilizing multi-area imaging with a 2-photon mesoscope), to uncover the neural correlates of adaptive behavior. We use optogenetics and chemogenetics to test what roles diverse areas have during behavior. Furthermore, we develop new computational models and tools to generate testable hypotheses and analyze our data.