Occluding structures may be created within a body lumen by advancing a length of material distally through the body lumen. By drawing a distal location on the advanced length of material in a proximal direction, the material may be compacted into a structure which at least partially occludes the lumen. The occluding structure may be used to remove kidney stones from the ureter in conjunction with lithotripsy and irrigation.