removed getFactory from array component