HW #2 and extra credit