Patch 2

The insertSpan function should be ready.