adding list iteration