Legislation regulating speed limits takes effect