add sections about inheritance