assign myArray[0] variable and print to console