select pages by two methods