scaffolding for main page