Adjusting approx_sum and approx_avg arguments