add ex1.40, ex1.41, ex 1.42