can pass which_measure into choose_dict, however there is a off by 1 error