Adding some debug messages