can strings.Join be used here instead?