Modified the way 'get page' is implemented