In two of the trials, the box was dark for 12 minutes and then illuminated for 48 minutes with either long-wavelength red light or short-wavelength blue light directed at the subjects' corneas. (Light color is determined by its wavelength.) The box was dark in a control experiment.
In the third phase of the experiment a male was placed in the cage over the box where the female had once been, and the amount of aggression towards this male from the nesting male was measured.