added in code for page.c,h