add
merge allen
fix interface writeuints