Changed method name - passes array with NSDictionary called theArray