pages merging