conditions for quiz