finish method chapter section 3,4,5

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