added converstaion for crc function