added another definition of Tensor