Wrote a little Code for the GUI.