added logging to base class