Added first array creation function