Basic coding in GUI.