changed references, edited index