updated the GUI. basic function working!