slight refactor of index tracking in reverse method