Collision detection, step 7