[subject to removal] add some debug output