Wrote HW 5.