comments in mdbroker.go & some coding style