Added some debug messages to CV