Updating problem4.