How do I add extra info to an array item

Instead of making an array of strings, create a struct that has the needed fields and make that the base element of your array.