improvement: return the page object so the UI can load it