WHEN PLANETS COLLECT COMETS