passing this.myProducts to function, rather than productData