solved the problem 1