assigning second index value to myArray