modifications to quiz to support deadlines and extensions, untested