Got working random searching