HW 2: revision