maint - adding debugging