improvment for collisions