debugging index