Debug Output

Added debug output to find errors, didn’t find any