added more functions to the pageFuncions file