ex5_9 done