XCode Beta3 compilant: T[] --> [T]
add reduce()