added three buttons and a slider