some debugging was done