add TWD support