using page indexes instead of page names