HW4 through Step6