adding some debugging help.