adding all the pages