added some debugging information