still not done with merge loops