add broker default and define constants