Commit code chaper 10