verbose logging; fixed xcode