changing array creation