add logic to JobExecutor.java