ex1.31 done