add ex1 through ex3