add dict loop part and renew list loop part