added ex3.1~3.5