minor changes to TypeWriter environment