add root section, simple refactor