prelim work on #10 exercise