Regulation and unintended consequences