Since we already declared predictionArray in the header file we don't need to declare it again in the viewDidLoad action scope. So I removed "NSArray *".