added exercise 3.11~3.13