update comments in cmp.c