Laser collision code