All I am asking for is passing the joblist and logger via function parameters instead of getting them from globals.