job count is now a parameter