updated Chapter5