mempool: use the list to iterate the elements