added priority to pages.