dod collision detection works