collision detection
merging