replaced list_for_each_entry()