add functionality to quiz and alerts