add interface to support running job parallel