added problem 7