Adaptive Gain instead of constant gain