more debug printouts, hoping to figure out what's wrong with cat 1223