Args to scatter function now set by calling function