added text box and buttons for equation