scaffolding implementation