add some debug messages