job submit function