Added a random search feature.