another update for mathquiz.c