added some better looking debugging