change List<T> to IEnumerable<T>