changed to ind_to_xyv