Problem 5 done.