just define a no argument function (add add `global` declarations where necessary) and call it. then you don't need to have all these underscored variables (obviously keep the ones that were there before)