basic loop
merge