General debugging and implementing print methods