WRTree writing