started layout out the tensor for compose