generate scaffolds