passed mongo to hub