Prey switching involves two or more prey species and one predator species. When all prey species are at equal prey densities, the predator will indiscriminately select between prey species. However, if the density of one of the prey species decreases, then the predator will start selecting the other, more common prey species with a higher frequency. Murdoch demonstrated this effect with guppy preying on tubificids and fruit flies. As fruit fly numbers decreased guppies switched from feeding on the fruit flies on the water's surface to feeding on the more abundant tubificids along the bed.