fixed new factory for cell container using exisiting arrays