consolidates add for tensor and number