cleaned up the debugging output