solved problem 004