scaffolding for primary pages