replaced some indexes