WIP: add crc32 code