remove args from global namespace, leave in function