minor change to problem 10