added problem 2