simplification of collide loop.