add debug trace in Base class