Note the following output. $Names is an array with two values. $Machinename is an array with two values.
Their positional values within the array are retrieved accurately