minor debugging work