new logic for showing jobs