This project examines cognitive flexibility in spatial navigation in the fruit fly Drosophila and uses wind-guided navigation as a model. Flies change their walking direction relative to the wind based on whether or not there is an attractive odor, and we will investigate neural mechanisms underlying this flexible switching at the cellular and synaptic levels.