modified Quiz Generator