Adding effect.setArray