Debug code  for verbose mode