Fleshing out Problem 6