add submit-job functinoality