Adding more methods into the page class