to go further with problem 1