redefined getPage