get rid of unnecessary functions that used to serve the buttons and UI stuff