remove some unnecessary functions
make the buttons for the display div