ex5_1 done