moving this down to honor debug mode.