Problem 6 complete