sections history refactoring