adding HW4 prelim