this was incorrectly refactored earlier. we reference the page but don't have access to it anymore. pass it in explicitly