add debugging information to crc.c