Used 'generics' to ensure the list is actually a string list.