rearranged the order of the button groups so that it makes more sense