chapter4 finish commit