fix logging message to include the index
also add the list of current indices