Convert to span