remove static function for getPage()