add selection to scaffolding