Memory was tested 30 min or 24 hrs post-training. Immediately after training, yeast was added to the training vials to ensure flies did not become food deprived prior to test. For experiments lasting several days, flies were trained on food containing 10 g yeast, 10 g sugar and 4 g agar boiled in 200 mL water. All training and tests were performed in a dark room under red light. The temperature was controlled with an oil-filled radiator (DeLonghi TRD0715T, Dubuque, IA) and humidity controlled with a warm-mist humidifier (Vicks V745A, Proctor & Gamble, San Ramon, CA).