South Dakota lawmakers learn from national scandal