Added for loop to load cards from array