Adding some debug lines, because I'm getting an error message, and I don't know where it's from