The cost of bad design