some debugging changes