ex2.51 done