added more debug output for stuff