design the GUI