finish inheritance section 8,9

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