doc for twm