Collision detection first draft.