convert random question types into quiz groups