ex5_4 done