debugging report functions