Updated problem 1.