added tuples playground but had to cast array to NSArray