trying to improve debug output a bit more.