working on GUI.