new quiz generation working