ex2.29 done