added reset button and reorganized buttons