compiles and runs on Xcode 6 beta 7