changed from array of strings to array of the Person objects