do some debugging