factorize sections pages