add index to tracker class