finished random search