now tracking index variable