Added some debug output so I can figure out what's going on.