problem 1c done