added documentation at top of page.c/h