added DebugLog()