tracking: casting indices to integer