Changes to write to make itfind data block betters