maybe checkstate that outputPage == null here as a sanity check