Removed console logging in setArg