6-detecting-collisions