solve problem 008