added gain effect