added mode change - fails because TermWriter broke it