add num_cmps