Added Span coding