added some debug.