job fns and config stuff