Scrapped the createArray functions