merges in pages