Added AGC module