change ienumerable to ilist