This a simple inheritance code！