basic indexing of pages