He added that occasional regulation by the state is requisite for the proper government function, especially if such regulation is used to promote general welfare. The Fifth and Fourteenth Amendments do not prohibit governmental regulation for the public welfare. Instead, they only direct the process by which such regulation occurs. As the Court has held before, such due process "demands only that the law shall not be unreasonable, arbitrary, or capricious, and that the means selected shall have a real and substantial relation to the object sought to be attained."