Code: Changed List to IEnumerable.