not sure about problem 6