change to the TriplexWwriter