spilt pages into sections