organization and finalization of HW3