week 4 hw method