changed to effectscalarvariable