update readme and add some debug output