add measure_each
add measure_produce