Legislation and interest group influence