job submission working version