worked bg queue into jobs.c