early warning systems for defects