add init for word tree