finish method chapter section 2

Signed-off-by: xiehuc <xiehuc@gmail.com>