Changed List to IEnumerable