added gain plots