added NS_LOG_DEBUG