fromSpans