added Spanned class