added ex1.7_1.8