Corrected another issue with creating an array