got flagging quizzes working
flagging system working