modified scaffold JobChain