collision detection
merge