what four functions do all the modern governments preform