Add functions of charpter 10