added jobWait