sections history refactoring for more flexible system.