added myArray to ViewController