regulate and keep dogs civilized