skeletal functions for reading and writing index pages