added some consistency to debugging output