[chapter3] update 3.1(5)