added total gain toggle