HW4 tested