now compiling in swift 1.0