to problem 4