HW5: 1_d