Updated problem 13