HW04 completion