change PrintEntireIndex(pages []*)