before removing sum_hat_a from p_ATTACH