rearranged the buttons