joining tables and scaffolding