hw2: submitted.