add defects scaffold