Solved problem seven