Add collisions detection