add index to text label too