use a dict to track the jobs