Local legislation: What and how it should be