addded problem 1