combine redundant sections