First implementation of collisions