continuation of example problem 9176847