First pass at HW2.