added some hopefully helpful debug