global page files - needs to be refactored