upgraded debugging messaging heavily