now properly writing table data + caching checksum