Added another debugging method that returns a string