Added more debug output.