Dopamine-controlled fan cells in the lateral entorhinal cortex are required for the formation of associative memories.