finishing generic_page to prep for unit tests