Designing Good Flaws