Finished HW7 stuff.