beginnings of some debugging methods for #132