write data index is now a util