moving this down to honor the debug mode.