finish ex_3_1