modeling collisions