updated debugging messages.