add $cmp