Add more functions of charpter 8