The theory of collisions