python collisions work