Adding correct indexing to size.text