Made an array using another array