state patern for quiz status