added gain setting comments