added reference to class and methods in debug print