added some debug information