added better debugging verbosity