Add list processing logic