HW2 codes merged.