Working collision detection