add location
merge and rebuild