made xcode project and debug it