initial query is randomly selected