Solved problem 06