Initial random search functionality