why is command an array rather than a string?