Added function crc