compile with Xcode 6 + some comments