correct problem31