Updating problem 7