quiz analysis working (rudimentarilly)