It requires a sufficient nexus or connection between the state and the subject-matter of the law.