code for parallel jobs from broker

[test]