remove use of IList instead of IEnumerable