adds expression_meas argument to function