add function for crc32