quiz helper methods