toBW
For new data structure
first commit