implement page contents