Outsource helper functions and section code
Account for partial pages