question-picking logic