update problem 16