change_index was missing 2 arguments