replaceAllArrayGetters workign as instance method