Title: Learning and sensory processing in a simple brain