make measure into button group