select candidate randomly.