To allow for the mechanistic separation of olfactory learning, discrimination, and memory, we exploited a well-known phenomenon of transgenes, which concerns heterogeneous expression among different founder lines and even among genetically identical individuals of a given line.