trying to figure out why HW4 is weird