add pages with priorities