making sectionswap work